package cn.e_eap.esite.manager;

import java.util.List;

import cn.e_eap.esite.bean.Module;
import cn.e_eap.esite.web.PagerForm;


public interface ModuleManager {
	
	public void add(Module m, int parentId);

	public void delete(int id);
	
	public void update(Module m);
	
	public List<Module> find(Module condition, PagerForm pf);
	
	public Module findByName(String name);
	
	public Module findByUrl(String name);
	
	public Module findById(int id);
	
}